package com.itheima.test1;

public class Desk {
    //判断标记
    private boolean b;
    //汉堡数量
    private int num;
    //对象
    private  Object  ob;

    public Desk(boolean b, int num, Object ob) {
        this.b = b;
        this.num = num;
        this.ob = ob;
    }

    public Desk() {
        this(false,10,new Object());
    }

    public boolean isB() {
        return b;
    }

    public void setB(boolean b) {
        this.b = b;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public Object getOb() {
        return ob;
    }

    public void setOb(Object ob) {
        this.ob = ob;
    }

    @Override
    public String toString() {
        return "Desk{" +
                "b=" + b +
                ", num=" + num +
                ", ob=" + ob +
                '}';
    }
}
